﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Windows.Input;
using System.Windows.Documents;
using MapInfo.MiPro.Interop;
using System.Diagnostics;

namespace CustomMapinfoWindows.ViewModels
{
    public class ComputerViewModel : TreeViewItemViewModel
    {
        readonly ReadOnlyCollection<DriveViewModel> _drives;
        public ComputerViewModel(string[] drives)
            : base(null, false)
        {
            _drives = new ReadOnlyCollection<DriveViewModel>((from drive in drives
                                                              select new DriveViewModel(drive, this))
                                                                .ToList());
        }

        public ReadOnlyCollection<DriveViewModel> Drives
        {
            get { return _drives; }
        }

    }

    

    
}
